package com.yydm.serviceedu.controller;

import com.yydm.commonutils.R;
import org.springframework.web.bind.annotation.*;

/**
 * @Classname YydmController
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/6/18 20:58
 * @Created by liu25
 */
//登录
@RestController
@RequestMapping("/serviceauto/user")
public class LoginController {


//    //    登录
//    @PostMapping("/login")
//    public R login() {
//        return R.ok().data("token", "admin");
//    }
//
//    //    登录后返回用户的信息
//    @GetMapping("/info")
//    public R info() {
//        return R.ok().data("name", "admin").data("avatar", "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg" +
//                ".hx2cars.com%2Fupload%2Fnewimg1%2FM03%2F3D%2F99%2FClo8w14FWYeAEOqWAADd5MPbDxs656_small_800_600.jpg&refe" +
//                "r=http%3A%2F%2Fimg.hx2cars.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1658221768&t=7f384" +
//                "a808907f60dd1cafc6e4e5484a4");
//    }

//    退出登录


}
